package com.liushao.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.liushao.entity.Borrower;
import com.baomidou.mybatisplus.extension.service.IService;
import com.liushao.entity.vo.BorrowerApprovalVO;
import com.liushao.entity.vo.BorrowerDetailVO;
import com.liushao.entity.vo.BorrowerVO;

/**
 * <p>
 * 借款人 服务类
 * </p>
 *
 * @author chen
 * @since 2025-01-03
 */
public interface BorrowerService extends IService<Borrower> {

  public   void saveBorrowerVo(BorrowerVO borrowerVO, Long userId);

  public Integer getBorrowerStatusByUserId(Long userId);

  public IPage<Borrower> listPage(Page<Borrower> pageParam, String keyword);

  public BorrowerDetailVO getBorrowerDetailVOById(Long id);

   public void approval(BorrowerApprovalVO borrowerApprovalVO);
}
